package cc.sheji.reposity;


import cc.sheji.domain.Love;
import cc.sheji.domain.UserFocus;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface LoveRepository extends CrudRepository<Love, Long> , JpaSpecificationExecutor<Love> {


    void deleteAllByPictureCollectionIdAndUserId(Long pictureCollectionId,Long userId);

}
